package com.czwx.bee.business.manager.exception;


import com.czwx.bee.base.common.constants.AppConstant;
import com.czwx.bee.base.common.dto.ResponseDto;
import com.czwx.bee.base.common.exception.BizExceptionEnum;

public enum ManagerExceptionEnum {

    NOT_FIX(AppConstant.Code.FAIL,"账号渠道不匹配"),
    HAS_REGIST(AppConstant.Code.FAIL,"该用户名已经注册")
    ;

    ManagerExceptionEnum(String code, String message) {
        this.friendlyCode = code;
        this.friendlyMsg = message;
    }

    ManagerExceptionEnum(String code, String message, String urlPath) {
        this.friendlyCode = code;
        this.friendlyMsg = message;
        this.urlPath = urlPath;
    }

    private String friendlyCode;

    private String friendlyMsg;

    private String urlPath;

    public String getCode() {
        return friendlyCode;
    }

    public void setCode(String code) {
        this.friendlyCode = code;
    }

    public String getMessage() {
        return friendlyMsg;
    }

    public void setMessage(String message) {
        this.friendlyMsg = message;
    }

    public String getUrlPath() {
        return urlPath;
    }

    public void setUrlPath(String urlPath) {
        this.urlPath = urlPath;
    }


}
